package executables;

import java.io.IOException;

import modules.exports.ExportLilyPond;
import modules.exports.ExportXMLDrumer;
import modules.imports.ImportASCII;
import core.Partition;

public class AsciiToXMLDrummer {
	
	public static void main(String[] args) {
		String[] myStringArray = {"11500","1000"};

		try {
			Partition p = ImportASCII.importer("/home/dwarlingeld/workspace/Flackd/tabs/30_seconds_to_mars/attack.tab"
				, "Attack", "30 Seconds To Mars", "2012", "A Beautiful Lie", 85.7, false);
		
			/*ExportXMLDrumer.exporter(p, "/home/dwarlingeld/Flex workspace/XML_Drummer/Musiques/30 Seconds To Mars/A Beautiful Lie/Attack/newsong.xml",
					myStringArray);*/
			
			ExportLilyPond.exporter(p, "attack");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
